<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="修改申请出库" bodyClass="white-bg" libs=["prism","bootstrapSelect","ueditor"] />
<div class="wrapper wrapper-content ibox-content">
    <@form.form id="form-applyoutlibrary-edit"  class="form-horizontal">
    <input name="id" value="${bpmCrmApplyoutlibrary.id}" type="hidden">
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "销售员" />：
        </label>
        <div class="col-sm-8"><input name="saleUserid" value="${bpmCrmApplyoutlibrary.saleUserid}" class="form-control" type="text" readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "销售订单编号" />：
        </label>
        <div class="col-sm-8"><input name="saleOrderNumber" value="${bpmCrmApplyoutlibrary.saleOrderNumber}" class="form-control" type="text" readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "合同价" />：
        </label>
        <div class="col-sm-8"><input name="orderContractPrice" value="${bpmCrmApplyoutlibrary.orderContractPrice}" class="form-control" type="text" readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "是否包税"/>：</label>
        <div class="col-sm-8">
            <@form.radio name="orderIsTax" dictType="sys_crm_isOrNo" value="${bpmCrmApplyoutlibrary.orderIsTax}" readOnly="true"  />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "是否包运输"/>：</label>
        <div class="col-sm-8">
            <@form.radio name="orderIsTransport" dictType="sys_crm_isOrNo" value="${bpmCrmApplyoutlibrary.orderIsTransport}"  readOnly="true" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "是否保修"/>：</label>
        <div class="col-sm-8">
            <@form.radio name="orderIsGuarantee" dictType="sys_crm_isOrNo" value="${bpmCrmApplyoutlibrary.orderIsGuarantee}"  readOnly="true" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "其他项目" />：
        </label>
        <div class="col-sm-8"><input name="orderOtherProject" value="${bpmCrmApplyoutlibrary.orderOtherProject}" class="form-control" type="text"  readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "选择库存id" />：
        </label>
        <div class="col-sm-8"><input name="carStockId" value="${bpmCrmApplyoutlibrary.carStockId}" class="form-control" type="text"  readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "车辆识别码" />：
        </label>
        <div class="col-sm-8"><input name="carVin" value="${bpmCrmApplyoutlibrary.carVin}" class="form-control" type="text"  readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "车辆型号" />：
        </label>
        <div class="col-sm-8"><input name="carVehicle" value="${bpmCrmApplyoutlibrary.carVehicle}" class="form-control" type="text"  readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "库存成本" />：
        </label>
        <div class="col-sm-8"><input name="carStockCost" value="${bpmCrmApplyoutlibrary.carStockCost}" class="form-control" type="text"  readonly="true" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "是否通过审批"/>：</label>
        <div class="col-sm-8">
            <@form.radio name="approvalIsCross" dictType="sys_bpm_crm_passorclose" value="${bpmCrmApplyoutlibrary.approvalIsCross}" readOnly="true" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "审批备注"/>：</label>
        <div class="col-sm-8">
            <textarea name="approvalRemark" class="form-control"  readonly="true">${bpmCrmApplyoutlibrary.approvalRemark}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-3 control-label"><@ctx.i18n text = "审批日期"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control" name="approvalTime"  data-type="date"   value="${(bpmCrmApplyoutlibrary.approvalTime?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text"  readonly="true" />
            </div>
        </div>
    </div>
</@form.form>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "bpm/applyoutlibrary";
    $("#form-applyoutlibrary-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/edit", $('#form-applyoutlibrary-edit').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>
